package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 * @date Mon May 20 10:44:34 CST 2024
 */
@ApiModel( value ="t_xz_collectOrPrise" )
@Table( name ="t_xz_collectOrPrise" )
public class CollectOrPrise  implements Serializable {


    @Id
   	@Column(name = "collect_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer collectId;

	/**
	 * 文章，视频，商品ID
	 */
   	@Column(name = "product_id" )
	@ApiModelProperty( value="文章，视频，商品ID")
	private Integer productId;

	/**
	 * 类型 0为商品 1为文章 2微视频
	 */
   	@Column(name = "collect_type" )
	@ApiModelProperty( value="类型 0为商品 1为文章 2微视频")
	private Integer collectType;

   	@Column(name = "user_id" )
	@ApiModelProperty( value="null")
	private Integer userId;

   	@Column(name = "collect_time" )
	@ApiModelProperty( value="null")
	private String collectTime;

	/**
	 * 0位点赞，1为收藏
	 */
   	@Column(name = "collect_flag" )
	@ApiModelProperty( value="0位点赞，1为收藏")
	private Integer collectFlag;

   	@Transient
    private String productName;
    @Transient
    private String productImage;
    @Transient
    private String baikeTitle;
    @Transient
    private String baikeImg;
    @Transient
    private String baikeContent;


  public Integer getCollectId() {
    return collectId;
  }

  public void setCollectId(Integer collectId) {
    this.collectId = collectId;
  }


  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public Integer getCollectType() {
    return collectType;
  }

  public void setCollectType(Integer collectType) {
    this.collectType = collectType;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getCollectTime() {
    return collectTime;
  }

  public void setCollectTime(String collectTime) {
    this.collectTime = collectTime;
  }


  public Integer getCollectFlag() {
    return collectFlag;
  }

  public void setCollectFlag(Integer collectFlag) {
    this.collectFlag = collectFlag;
  }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public String getBaikeTitle() {
        return baikeTitle;
    }

    public void setBaikeTitle(String baikeTitle) {
        this.baikeTitle = baikeTitle;
    }

    public String getBaikeImg() {
        return baikeImg;
    }

    public void setBaikeImg(String baikeImg) {
        this.baikeImg = baikeImg;
    }

    public String getBaikeContent() {
        return baikeContent;
    }

    public void setBaikeContent(String baikeContent) {
        this.baikeContent = baikeContent;
    }
}
